/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const userRouter = {
  path: '/user',
  component: Layout,
  redirect: '/user/index',
  children: [
    {
      path: 'index',
      component: () => import('@/views/user/index'),
      name: 'User',
      meta: {
        title: 'userManage',
        icon: 'peoples',
        roles: ['admin', 'test', 'editor']
      }
    }
  ]
}
export default userRouter
